<style>
    *{
        margin: 0;
        padding: 0;
    }
    .row-bettween {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        /*justify-content: space-between; */
    }
    .n-bootstrap{
        margin-left: 2%;
    }
    .top-item {
        /* flex: 1; */
        padding: 5px 10px 10px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        background: #fff;
        font-size: 24px;
        border-radius: 10px;
        margin-left: 3%;
        margin-right: 3%;
        margin-bottom: 2%;
        min-width: 230px;
        /*line-height:  normal;*/
    }

    .top-item span {
        margin-bottom: 5px;
        font-size: 12px;
    }

    .row-flex {
        display: flex;

    }

    .flex-wrap {
        display: flex;
        flex-wrap: wrap;
    }

    .matter-box {
        padding: 10px;
        border-radius: 10px;
        background-color: #fff;
        flex: 1;
        min-width: 500px;
        margin-bottom: 20px;
    }

    .tag-red {
        display: flex;
        align-items: center;
        margin-bottom: 10px;
    }

    .tag-red i {
        width: 15px;
        height: 15px;
        border-radius: 50%;
        border: 5px solid #ff0000;
        margin-right: 10px;
    }

    .matter-ipt {
        padding: 5px 10px;
        border-bottom: 1px solid #f1f1f1;
        margin-left: 20px;
        min-width: 200px;
        margin-bottom: 5px;
        justify-content: space-between;
    }

    .matter-ipt span {
        color: #ff0000;
    }

    .quick {
        margin-right: 20px;
        font-size: 14px;
        text-align: center;
        margin-left: 30px;
    }

    .quick i {
        font-size: 30px;
        color: #ff0000;
        margin-bottom: 5px;
    }

    .table-box {
/*        width:80%;*/
/*         flex: 1; */
        margin-left: 40px;
    }

    .table-box-th {
        display: flex;
        align-items: center;
        border: 1px solid #ccc;
    }

    .table-box-th div {
        width: 200px;
        height: 40px;
        font-size: 14px;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: #ecebeb;
    }

    .table-title {
        color: #000;
        font-size: 14px;
        margin: 10px 0;
    }

    .table-box-th:nth-child(1) div {
        border-right: 1px solid #ccc;
    }

    .table-box-th:nth-child(2) div {
        border-right: 1px solid #ccc;
    }



    .table-box-tr {
        display: flex;
        align-items: center;
        border: 1px solid #ccc;
    }

    .table-box-tr div {
        width: 200px;
        height: 60px;
        font-size: 14px;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: #fff;
    }

    .table-box-tr:nth-child(1) div {
        border-right: 1px solid #ccc;
    }

    .table-box-tr:nth-child(2) div {
        border-right: 1px solid #ccc;
    }

    .th-rank {
        width: 80px !important;
        border-right: 1px solid #ccc;
        height: 30px !important;
    }

    .th-service {
        width: 300px !important;
        border-right: 1px solid #ccc;
        height: 30px !important;
    }

    .th-sales-amount {
        width: 180px !important;
        height: 30px !important;
    }

    .increase {
        font-size: 12px;
        display: none; 

    }

    .border-left {
        border-right: 1px solid #ccc;
    }

    .increase .up {
        color: #7aea73;
        margin-left: 3px;

    }

    .increase .down {
        color: #ff0000;
        margin-left: 3px;
    }

    #reportrange{
        background: #fff;
        cursor: pointer;
        padding: 5px 10px;
        border-radius: 10px;
        width: 500px;
        margin-bottom: 20px;
        margin-left:30px;
    }
</style>

<form class="form-horizontal form-commonsearch nice-validator n-default n-bootstrap" novalidate="" method="post" action="" id="form">
    <div class="row">
        <div class="row">
            <div class="form-group">
                <div class="col-xs-4">
                    <input style="display: none;" type="text" id="s001"  class="form-control" name="starttime" value="{$starttime|date='Y-m-d H:i:s',###}">
                    <input style="display: none;" type="text" id="s002"  class="form-control"  name="endtime"   value="{$endtime|date='Y-m-d H:i:s',###}">
                    <div id="reportrange" class="datetimerange">
                        时间筛选 : <i class="fa fa-calendar"></i>&nbsp;
                        <span> {$starttime|date='Y-m-d H:i:s',###} - {$endtime|date='Y-m-d H:i:s',###} </span>
                        <i class="fa fa-caret-down"></i>
                    </div>
                </div>
                
                <div class="col-xs-2">
                    <button type="submit" class="btn btn-success" formnovalidate="">查询</button>
                  
                </div>
            </div>
        </div>
    </div>
</form>

<div class="row row-bettween">
    {foreach name="list" id="item"}
        <div class="top-item col-xs-3">
            <div class="shop-num">
                <span>{$item.title}</span>
                <div>{$item.value}</div>
            </div>
        </div>
    {/foreach}
</div>